package org.qu.vo;

import java.sql.Timestamp;

/**
 * IsnsHi entity. @author MyEclipse Persistence Tools
 */

public class IsnsHi implements java.io.Serializable {

	// Fields

	private Integer hiId;
	private Integer fromUserId;
	private String fromUserName;
	private String fromUserIco;
	private Short hi;
	private Integer toUserId;
	private Timestamp addTime;
	private Short readed;

	// Constructors

	/** default constructor */
	public IsnsHi() {
	}

	/** minimal constructor */
	public IsnsHi(Integer fromUserId, Integer toUserId) {
		this.fromUserId = fromUserId;
		this.toUserId = toUserId;
	}

	/** full constructor */
	public IsnsHi(Integer fromUserId, String fromUserName, String fromUserIco,
			Short hi, Integer toUserId, Timestamp addTime, Short readed) {
		this.fromUserId = fromUserId;
		this.fromUserName = fromUserName;
		this.fromUserIco = fromUserIco;
		this.hi = hi;
		this.toUserId = toUserId;
		this.addTime = addTime;
		this.readed = readed;
	}

	// Property accessors

	public Integer getHiId() {
		return this.hiId;
	}

	public void setHiId(Integer hiId) {
		this.hiId = hiId;
	}

	public Integer getFromUserId() {
		return this.fromUserId;
	}

	public void setFromUserId(Integer fromUserId) {
		this.fromUserId = fromUserId;
	}

	public String getFromUserName() {
		return this.fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public String getFromUserIco() {
		return this.fromUserIco;
	}

	public void setFromUserIco(String fromUserIco) {
		this.fromUserIco = fromUserIco;
	}

	public Short getHi() {
		return this.hi;
	}

	public void setHi(Short hi) {
		this.hi = hi;
	}

	public Integer getToUserId() {
		return this.toUserId;
	}

	public void setToUserId(Integer toUserId) {
		this.toUserId = toUserId;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public Short getReaded() {
		return this.readed;
	}

	public void setReaded(Short readed) {
		this.readed = readed;
	}

}